package com.ruoyi.User.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.domain.BaseEntity;
import java.util.Date;
import java.math.BigDecimal;

/**
 * 用户表 xyb_user
 * 
 * @author ruoyi
 * @date 2019-08-05
 */
public class User extends BaseEntity {
	
	private static final long serialVersionUID = 1L;

	/**  */
	private Integer id;
	/**  */
	private String groupid;
	/**  */
	private Integer level;
	/**  */
	private Integer agentid;
	/**  */
	private String openid;
	/**  */
	private String openidWa;
	/**  */
	private String realname;
	/**  */
	private String mobile;
	/**  */
	private String pwd;
	/**  */
	private String content;
	/**  */
	private Integer createtime;
	/**  */
	private Integer agenttime;
	/**  */
	private Integer status;
	/**  */
	private Integer isagent;
	/**  */
	private Integer clickcount;
	/**  */
	private Integer agentlevel;
	/**  */
	private String nickname;
	/**  */
	private BigDecimal credit1;
	/**  */
	private BigDecimal credit2;
	/**  */
	private String birthyear;
	/**  */
	private String birthmonth;
	/**  */
	private String birthday;
	/**  */
	private Integer gender;
	/**  */
	private String avatar;
	/**  */
	private String province;
	/**  */
	private String city;
	/**  */
	private String area;
	/**  */
	private Integer childtime;
	/**  */
	private Integer agentnotupgrade;
	/**  */
	private Integer renzheng;
	/** 身份证号 */
	private String idcard;
	/** 身份证 */
	private String idcardimg;
	/** 身份证 */
	private String idcardimg2;
	/** 学生证图片 */
	private String studentimg;
	/** 学校 */
	private String school;
	/** 入学年份 */
	private String entrance;
	/** 专业 */
	private String specialty;
	/** 院系 */
	private String faculty;
	/** 学号 */
	private String studentid;
	/**  */
	private Integer riderstatus;
	/**  */
	private Integer ordermoney;
	/** 状态 0注销 1ok */
	private Integer valid;
	/** token */
	private String accesstoken;
	/**  */
	private Integer fenxiao1;
	/**  */
	private Integer fenxiao2;
	/**  */
	private Integer fenxiao3;
	/** 用户级别 */
	private Integer userLevel;
	/** 最近登陆学校 */
	private Integer zjSchool;
	/** 骑手认证状态 发起1 同意2 打回0 */
	private String verify;
	/** 认证成功时间 */
	private String rzDate;
	/** 审核意见 */
	private String verifyRemark;
	/** 会员等级 */
	private String vipLevel;
	/** 黑名单 1为已加入黑名单 0为未加入 */
	private Integer black;
	/** 订单总数量 */
	private Integer orderAmount;
	/** 消费总金额 */
	private Double costedMoney;
	/** 最近成交时间 */
	private Date recentlyTime;
	/** 注册时间 */
	private Date registerDate;
	/** 认证发起时间 */
	private Date applyVerifyDate;
	/** 审核时间 */
	private String verifyDate;
	/** 业务范围 */
	private String service;
	/** 校区 */
	private String schools;
	/** 用户经验值 */
	private Double userExp;
	/** 骑手经验值 */
	private Double riderExp;
	/** 成为分销商时间 */
	private Date chiefDate;
	/** 有无发展下限的权限（1有 0没有）分销商权限 */
	private Integer chiefPermission;
	/** 分销商等级 （初级、中级、高级） */
	private String chiefLevel;
	/** 佣金 */
	private Double commission;
	/** 已提现佣金 */
	private Double commissionGot;

	public String getChiefLevel() {
		return chiefLevel;
	}

	public void setChiefLevel(String chiefLevel) {
		this.chiefLevel = chiefLevel;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public Integer getId() {
		return id;
	}

	public void setGroupid(String groupid) {
		this.groupid = groupid;
	}

	public String getGroupid() {
		return groupid;
	}

	public void setLevel(Integer level) {
		this.level = level;
	}

	public Integer getLevel() {
		return level;
	}

	public void setAgentid(Integer agentid) {
		this.agentid = agentid;
	}

	public Integer getAgentid() {
		return agentid;
	}

	public void setOpenid(String openid) {
		this.openid = openid;
	}

	public String getOpenid() {
		return openid;
	}

	public void setOpenidWa(String openidWa) {
		this.openidWa = openidWa;
	}

	public String getOpenidWa() {
		return openidWa;
	}

	public void setRealname(String realname) {
		this.realname = realname;
	}

	public String getRealname() {
		return realname;
	}

	public void setMobile(String mobile) {
		this.mobile = mobile;
	}

	public String getMobile() {
		return mobile;
	}

	public void setPwd(String pwd) {
		this.pwd = pwd;
	}

	public String getPwd() {
		return pwd;
	}

	public void setContent(String content) {
		this.content = content;
	}

	public String getContent() {
		return content;
	}

	public void setCreatetime(Integer createtime) {
		this.createtime = createtime;
	}

	public Integer getCreatetime() {
		return createtime;
	}

	public void setAgenttime(Integer agenttime) {
		this.agenttime = agenttime;
	}

	public Integer getAgenttime() {
		return agenttime;
	}

	public void setStatus(Integer status) {
		this.status = status;
	}

	public Integer getStatus() {
		return status;
	}

	public void setIsagent(Integer isagent) {
		this.isagent = isagent;
	}

	public Integer getIsagent() {
		return isagent;
	}

	public void setClickcount(Integer clickcount) {
		this.clickcount = clickcount;
	}

	public Integer getClickcount() {
		return clickcount;
	}

	public void setAgentlevel(Integer agentlevel) {
		this.agentlevel = agentlevel;
	}

	public Integer getAgentlevel() {
		return agentlevel;
	}

	public void setNickname(String nickname) {
		this.nickname = nickname;
	}

	public String getNickname() {
		return nickname;
	}

	public void setCredit1(BigDecimal credit1) {
		this.credit1 = credit1;
	}

	public BigDecimal getCredit1() {
		return credit1;
	}

	public void setCredit2(BigDecimal credit2) {
		this.credit2 = credit2;
	}

	public BigDecimal getCredit2() {
		return credit2;
	}

	public void setBirthyear(String birthyear) {
		this.birthyear = birthyear;
	}

	public String getBirthyear() {
		return birthyear;
	}

	public void setBirthmonth(String birthmonth) {
		this.birthmonth = birthmonth;
	}

	public String getBirthmonth() {
		return birthmonth;
	}

	public void setBirthday(String birthday) {
		this.birthday = birthday;
	}

	public String getBirthday() {
		return birthday;
	}

	public void setGender(Integer gender) {
		this.gender = gender;
	}

	public Integer getGender() {
		return gender;
	}

	public void setAvatar(String avatar) {
		this.avatar = avatar;
	}

	public String getAvatar() {
		return avatar;
	}

	public void setProvince(String province) {
		this.province = province;
	}

	public String getProvince() {
		return province;
	}

	public void setCity(String city) {
		this.city = city;
	}

	public String getCity() {
		return city;
	}

	public void setArea(String area) {
		this.area = area;
	}

	public String getArea() {
		return area;
	}

	public void setChildtime(Integer childtime) {
		this.childtime = childtime;
	}

	public Integer getChildtime() {
		return childtime;
	}

	public void setAgentnotupgrade(Integer agentnotupgrade) {
		this.agentnotupgrade = agentnotupgrade;
	}

	public Integer getAgentnotupgrade() {
		return agentnotupgrade;
	}

	public void setRenzheng(Integer renzheng) {
		this.renzheng = renzheng;
	}

	public Integer getRenzheng() {
		return renzheng;
	}

	public void setIdcard(String idcard) {
		this.idcard = idcard;
	}

	public String getIdcard() {
		return idcard;
	}

	public void setIdcardimg(String idcardimg) {
		this.idcardimg = idcardimg;
	}

	public String getIdcardimg() {
		return idcardimg;
	}

	public void setIdcardimg2(String idcardimg2) {
		this.idcardimg2 = idcardimg2;
	}

	public String getIdcardimg2() {
		return idcardimg2;
	}

	public void setStudentimg(String studentimg) {
		this.studentimg = studentimg;
	}

	public String getStudentimg() {
		return studentimg;
	}

	public void setSchool(String school) {
		this.school = school;
	}

	public String getSchool() {
		return school;
	}

	public void setEntrance(String entrance) {
		this.entrance = entrance;
	}

	public String getEntrance() {
		return entrance;
	}

	public void setSpecialty(String specialty) {
		this.specialty = specialty;
	}

	public String getSpecialty() {
		return specialty;
	}

	public void setFaculty(String faculty) {
		this.faculty = faculty;
	}

	public String getFaculty() {
		return faculty;
	}

	public void setStudentid(String studentid) {
		this.studentid = studentid;
	}

	public String getStudentid() {
		return studentid;
	}

	public void setRiderstatus(Integer riderstatus) {
		this.riderstatus = riderstatus;
	}

	public Integer getRiderstatus() {
		return riderstatus;
	}

	public void setOrdermoney(Integer ordermoney) {
		this.ordermoney = ordermoney;
	}

	public Integer getOrdermoney() {
		return ordermoney;
	}

	public void setValid(Integer valid) {
		this.valid = valid;
	}

	public Integer getValid() {
		return valid;
	}

	public void setAccesstoken(String accesstoken) {
		this.accesstoken = accesstoken;
	}

	public String getAccesstoken() {
		return accesstoken;
	}

	public void setFenxiao1(Integer fenxiao1) {
		this.fenxiao1 = fenxiao1;
	}

	public Integer getFenxiao1() {
		return fenxiao1;
	}

	public void setFenxiao2(Integer fenxiao2) {
		this.fenxiao2 = fenxiao2;
	}

	public Integer getFenxiao2() {
		return fenxiao2;
	}

	public void setFenxiao3(Integer fenxiao3) {
		this.fenxiao3 = fenxiao3;
	}

	public Integer getFenxiao3() {
		return fenxiao3;
	}

	public void setUserLevel(Integer userLevel) {
		this.userLevel = userLevel;
	}

	public Integer getUserLevel() {
		return userLevel;
	}

	public void setZjSchool(Integer zjSchool) {
		this.zjSchool = zjSchool;
	}

	public Integer getZjSchool() {
		return zjSchool;
	}

	public void setVerify(String verify) {
		this.verify = verify;
	}

	public String getVerify() {
		return verify;
	}

	public void setRzDate(String rzDate) {
		this.rzDate = rzDate;
	}

	public String getRzDate() {
		return rzDate;
	}

	public void setVerifyRemark(String verifyRemark) {
		this.verifyRemark = verifyRemark;
	}

	public String getVerifyRemark() {
		return verifyRemark;
	}

	public void setVipLevel(String vipLevel) {
		this.vipLevel = vipLevel;
	}

	public String getVipLevel() {
		return vipLevel;
	}

	public void setBlack(Integer black) {
		this.black = black;
	}

	public Integer getBlack() {
		return black;
	}

	public void setOrderAmount(Integer orderAmount) {
		this.orderAmount = orderAmount;
	}

	public Integer getOrderAmount() {
		return orderAmount;
	}

	public void setCostedMoney(Double costedMoney) {
		this.costedMoney = costedMoney;
	}

	public Double getCostedMoney() {
		return costedMoney;
	}

	public void setRecentlyTime(Date recentlyTime) {
		this.recentlyTime = recentlyTime;
	}

	public Date getRecentlyTime() {
		return recentlyTime;
	}

	public void setRegisterDate(Date registerDate) {
		this.registerDate = registerDate;
	}

	public Date getRegisterDate() {
		return registerDate;
	}

	public void setApplyVerifyDate(Date applyVerifyDate) {
		this.applyVerifyDate = applyVerifyDate;
	}

	public Date getApplyVerifyDate() {
		return applyVerifyDate;
	}

	public void setVerifyDate(String verifyDate) {
		this.verifyDate = verifyDate;
	}

	public String getVerifyDate() {
		return verifyDate;
	}

	public void setService(String service) {
		this.service = service;
	}

	public String getService() {
		return service;
	}

	public void setSchools(String schools) {
		this.schools = schools;
	}

	public String getSchools() {
		return schools;
	}

	public Double getUserExp() {
		return userExp;
	}

	public void setUserExp(Double userExp) {
		this.userExp = userExp;
	}

	public Double getRiderExp() {
		return riderExp;
	}

	public void setRiderExp(Double riderExp) {
		this.riderExp = riderExp;
	}

	public Date getChiefDate() {
		return chiefDate;
	}

	public void setChiefDate(Date chiefDate) {
		this.chiefDate = chiefDate;
	}

	public Integer getChiefPermission() {
		return chiefPermission;
	}

	public void setChiefPermission(Integer chiefPermission) {
		this.chiefPermission = chiefPermission;
	}


	public void setCommission(Double commission) 
	{
		this.commission = commission;
	}

	public Double getCommission() 
	{
		return commission;
	}
	public void setCommissionGot(Double commissionGot) 
	{
		this.commissionGot = commissionGot;
	}

	public Double getCommissionGot() 
	{
		return commissionGot;
	}

	public String toString() {
		return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
				.append("id", getId()).append("groupid", getGroupid())
				.append("level", getLevel()).append("agentid", getAgentid())
				.append("openid", getOpenid())
				.append("openidWa", getOpenidWa())
				.append("realname", getRealname())
				.append("mobile", getMobile())
				.append("pwd", getPwd())
				.append("content", getContent())
				.append("createtime", getCreatetime())
				.append("agenttime", getAgenttime())
				.append("status", getStatus())
				.append("isagent", getIsagent())
				.append("clickcount", getClickcount())
				.append("agentlevel", getAgentlevel())
				.append("nickname", getNickname())
				.append("credit1", getCredit1())
				.append("credit2", getCredit2())
				.append("birthyear", getBirthyear())
				.append("birthmonth", getBirthmonth())
				.append("birthday", getBirthday())
				.append("gender", getGender())
				.append("avatar", getAvatar())
				.append("province", getProvince())
				.append("city", getCity())
				.append("area", getArea())
				.append("childtime", getChildtime())
				.append("agentnotupgrade", getAgentnotupgrade())
				.append("renzheng", getRenzheng())
				.append("idcard", getIdcard())
				.append("idcardimg", getIdcardimg())
				.append("idcardimg2", getIdcardimg2())
				.append("studentimg", getStudentimg())
				.append("school", getSchool())
				.append("entrance", getEntrance())
				.append("specialty", getSpecialty())
				.append("faculty", getFaculty())
				.append("studentid", getStudentid())
				.append("riderstatus", getRiderstatus())
				.append("ordermoney", getOrdermoney())
				.append("valid", getValid())
				.append("accesstoken", getAccesstoken())
				.append("fenxiao1", getFenxiao1())
				.append("fenxiao2", getFenxiao2())
				.append("fenxiao3", getFenxiao3())
				.append("userLevel", getUserLevel())
				.append("zjSchool", getZjSchool())
				.append("verify", getVerify())
				.append("rzDate", getRzDate())
				.append("verifyRemark", getVerifyRemark())
				.append("vipLevel", getVipLevel())
				.append("black", getBlack())
				.append("remark", getRemark())
				.append("orderAmount", getOrderAmount())
				.append("costedMoney", getCostedMoney())
				.append("recentlyTime", getRecentlyTime())
				.append("registerDate", getRegisterDate())
				.append("applyVerifyDate", getApplyVerifyDate())
				.append("verifyDate", getVerifyDate())
				.append("service", getService())
				.append("schools", getSchools())
				.append("userExp", getUserExp())
				.append("riderExp", getRiderExp())
				.append("chiefDate", getChiefDate())
				.append("chiefPermission", getChiefPermission())
				.append("commission", getCommission())
           			.append("commissionGot", getCommissionGot())
				.append("chiefLevel", getChiefLevel()).toString();
	}
}
